package com.xx.chat_room.controller;

import com.xx.chat_room.websocket.ChatRoomWebSocketHandler;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author fanjj
 * @date 2017/10/18
 */
@Controller
public class TestController {
    @Resource
    private ChatRoomWebSocketHandler chatRoomWebSocketHandler;

    @RequestMapping(value = "/test")
    public String list(String search, Model model) {
        return "/test";
    }
}
